package com.baomidou.springboot.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.springboot.entity.Health;

import java.util.List;

/**
 * <p>
 * 新闻动态 服务类
 * </p>
 *
 * @author QQQ
 * @since 2018-06-19
 */
public interface HealthService {

    void save(Health health);

    void delete(String id);

    Health edit(String id);

    void update(Health health);

    Health view(String id);

    Page<Health> list(Page<Health> page, String search);

    void deleteBatch(List<String> ids);

    Health findById(String id);

    List<Health> findBySort();
}
